import unittest
import pytest

# 多重断言：单个测试中可以执行多个断言
# 不会中断：即使断言失败也会继续执行
# 完整报告：最终会显示所有失败的断言
from pytest_assume.plugin import assume
from common.request import Requests
from common.db import db
from common.login import Login
from common.header.Header import Headers
import os
from common.backup_roll import db_backup_reset
from ddt import file_data,ddt


<<<<<<< HEAD
class TestCase:
=======
class MyTestCase(unittest.TestCase):
>>>>>>> cfd41fdefb1b8c4bb914e3067fbd890c471b8397

    def setUp(self):
        print("开始")
    def tearDown(self):
        print("结束")

    def test_01_login(self):
        url="/boss/login"
        data={"loginName":"admin","roncooPwd":"123456"}
        res=Requests().post_request(url,data=data)
        print(res)













